package com.aynu.gulimall.ware.service;

import com.aynu.gulimall.ware.vo.MergeVo;
import com.aynu.gulimall.ware.vo.PurchaseDoneVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.aynu.common.utils.PageUtils;
import com.aynu.gulimall.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author majun
 * @email mjun1833@foxmail.com
 * @date 2020-06-07 22:27:50
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceiveChase(Map<String, Object> params);

    void mergePurchase(MergeVo vo);

    void receivedPurchase(List<Long> purchaseIds);

    void done(PurchaseDoneVo vos);

}

